﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace uam_fps_game.NetComponents
{
    public class SceneNetComp : NetComp
    {
        public Queue<Message> MessagesToSend;
        public Queue<Message> ReceivedMessages;

        public SceneNetComp()
        {
            MessagesToSend = new Queue<Message>();
            ReceivedMessages = new Queue<Message>();
        }

        internal override void Update(float deltaTime)
        {
            // receive messages and put them in ReceivedMessages
        }

        internal override void ProcessMessage()
        {
            // send messages from MessagesToSend
        }
    }
}
